package ysq.xyg.web.service;

import ysq.xyg.base.model.dto.ReturnEntity;
import ysq.xyg.base.service.BaseService;
import ysq.xyg.sys.model.po.SysUser;
import ysq.xyg.web.model.po.WebConfig;
import ysq.xyg.web.model.vo.WebConfigVo;

import java.util.List;

public interface WebConfigService extends BaseService<WebConfig> {

    /**
     * 修改
     *
     * @param webConfigVo 对象
     * @param currentUser 当前用户
     * @return ReturnEntity 对象
     * @author congcong tao
     * @date 2019-12-18 14:32:48
     */
    ReturnEntity addOrUpdate(WebConfigVo webConfigVo, SysUser currentUser);

    List<WebConfig> acceptList(WebConfigVo webConfigVo);
}
